package com.zh.media.domain.dto;

import com.zh.web.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
@ApiModel(value = "更新视频实体")
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UpdateVideoDto extends BaseDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    @NotNull(message = "id不能为空")
    private Long id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("简介")
    private String summary;
    @ApiModelProperty("作者")
    private String author;
    @ApiModelProperty("视频地址")
    private String videoUrl;
    @ApiModelProperty("内容类型")
    private String contentType;
    @ApiModelProperty("法条类型")
    private String lawType;
    @ApiModelProperty("来源类型")
    private Integer sourceType;
    @ApiModelProperty("来源地址")
    private String source;

}
